﻿#ifndef FXPZ_H
#define FXPZ_H

#include <QWidget>
#include <QButtonGroup>
#include <dbHelper.h>
#include <dataAnalsisByJThread.h>
#include <dataAnalysisThread.h>

namespace Ui {
class fxpz;
}

class fxpz : public QWidget
{
    Q_OBJECT

public:
    explicit fxpz(QWidget *parent = nullptr);
    ~fxpz();
    Ui::fxpz *ui;

private slots:
    void on_radioButton_clicked();

    void on_radioButton_2_clicked();

    void on_comboBox_2_currentIndexChanged(const QString &arg1);

    void on_radioButton_3_clicked();

    void on_radioButton_4_clicked();

    void on_comboBox_4_currentIndexChanged(const QString &arg1);

    void on_lineEdit_editingFinished();

    void on_lineEdit_2_editingFinished();

    void on_comboBox_3_currentIndexChanged(const QString &arg1);

    void on_pushButton_3_clicked();

    void on_pushButton_2_clicked();
signals:
    void subClose();

private:
    void showEvent(QShowEvent *event) override;
    void closeEvent(QCloseEvent *){//重写关闭按钮事件
         emit subClose();//发出关闭信号，父窗体接收信号后显示窗体
     }

private:

    DataAnalysisThread *dataAnaly;
    DataAnalysisByJThread *dataAnalyJ;
};

#endif // FXPZ_H
